package bean;

import java.io.Serializable;
import java.util.List;

import model.Goods;

public class GoodsListBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private List<Goods> list;

	public GoodsListBean(List<Goods> l) {
		list = l;
	}

	public List<Goods> getGoodsList() {
		return list;
	}

	public void setGoodsList(List<Goods> l) {
		list = l;
	}

	public Goods getGoods(int index) {
		return list.get(index);
	}

}
